<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>收藏 - {$memberDetail.nickname}的烘焙圈 - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/huiyuan.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery-1.7.2.min.js"></script>
</head>

<body>

<div class="b-page">
    <include file="Public:header" />
    <div class="b-huiyuan">
        <div class="b-body l-center">
            <div class="b-huiyuan__top">
                <div class="b-userInfo l-mgb20">
                    <div class="b-userInfo__pic"><img src="{$memberDetail.uavatar|getUavatar}" class="l-full"></div>
                    <div class="b-userInfo__content">
                        <div class="b-userInfo__name">{$memberDetail.nickname}的烘焙圈
                            <if condition="$memberDetail.ifrz eq 1">
                                <a href="__WEBURL__/us/renzhen.html"><i class="b-renzhengIcon_big pic_mid"></i></a>
                            </if>
                        </div>
                        <div class="b-userInfo__ziliao">
                            <span>性别: {$memberDetail.usex|getUsex}</span>
                            <if condition="$memberDetail.uprovince neq ''">
                            <span><img src="__IMAGES__/icon_position.png" class="pic_mid">{$memberDetail.uprovince|showProvince},{$memberDetail.ucity|showCity}</span>
                            </if>
                            <span>{$memberDetail.create_time|date='Y-m-d',###} 加入</span>
                        </div>
                        <div class="b-userInfo__shejiao">
                            <a href="{$memberDetail.uweibo}" class="b-zuopinUser__shejiaoItem" style="margin-right:5px;">
                                <span>新浪微博</span>
                                <i class="b-shareIcon pic_mid"></i>
                            </a>
                            <a href="{$memberDetail.uqqzone}" class="b-zuopinUser__shejiaoItem">
                                <span>QQ空间</span>
                                <i class="b-qqzoneIcon pic_mid"></i>
                            </a>
                        </div>
                        <div class="b-userInfo__qianming">
                            <span class="jianduan act">{$memberDetail.usign|str_cut=50}</span>
                            <if condition="strlen($memberDetail['usign'],'utf-8') gt 50">
                            <span class="quanbu">{$memberDetail.usign}</span>
                            <span rel="open" class="btn">(全部)</span>
                            </if>
                        </div>
                    </div>
                    <if condition="$userid neq $memberDetail['userid']">
                        <if condition="$isfans gt 0">
                            <a class="b-userInfo__guanzhu R_ajax_trip" data-info="userid,{$memberDetail.userid}" data-url="do/cancelfans/">取消关注</a>
                            <else/>
                            <a class="b-userInfo__guanzhu R_ajax_trip" data-info="userid,{$memberDetail.userid}" data-url="do/addfans/">关注</a>
                        </if>
                    </if>

                    <div class="b-userInfo__guanzhuInfo">
                        <div class="b-userInfo__guanzhuLeft">
                            <p class="b-userInfo__guanzhuP1">关注的人</p>
                            <p class="b-userInfo__guanzhuP2"><a href="__WEBURL__/u/{$memberDetail.openuid}/attention">{$memberDetail.attentionnum|getNullNum}</a></p>
                        </div>
                        <div class="b-userInfo__guanzhuRight">
                            <p class="b-userInfo__guanzhuP1">被关注</p>
                            <p class="b-userInfo__guanzhuP2"><a href="__WEBURL__/u/{$memberDetail.openuid}/fans">{$memberDetail.fansnum|getNullNum}</a></p>
                        </div>
                    </div>
                </div>
                <div class="b-userTab l-mgb20">
                    <a href="__WEBURL__/u/{$openuid}" class="b-userTab__item"><p><span>概况</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/works" class="b-userTab__item"><p><span>烘焙作品</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/copy" class="b-userTab__item"><p><span>参考作品</span></p></a>
                    <a href="__WEBURL__/u/{$openuid}/suipai" class="b-userTab__item"><p><span>随拍作品</span></p></a>
					<if condition="$memberDetail.userid eq $userid">
                    <a href="__WEBURL__/u/{$openuid}/favorite" class="b-userTab__item act"><p><span>收藏</span></p></a>
					</if>
                    <a href="__WEBURL__/u/{$openuid}/message" class="b-userTab__item"><p><span>留言板</span></p></a>
                    
                </div>
            </div>
            <div class="b-shoucang">
				<div class="nu-fa-lt">
					<div class="b-fenlei__title_all">全部分类</div>
					<div class="fa-nv-titl">
						<ul>
							<foreach name="cate" item="vcate">
							<li class="nv-on"><img src="__FILESURL__{$vcate.image}"><span>{$vcate.catename}</span></li>
							<li class="nv-tw" style="{$vcate['cateid']==$catNav['parentid']?'display:block':''}">
								<foreach name="vcate.childcate" item="vvcate">
								<a href="__WEBURL__/u/{$openuid}/favorite?cate={$vvcate.cateid}"><span class="{$vvcate['cateid']==$catNav['cateid']?'ont':''}">{$vvcate.catename}</span></a>
								</foreach>
								
								<div class="clear"></div>
							</li>
							</foreach>
							
						</ul>
					</div>
				</div>
				<div class="nu-fa-rt">
					<div class="b-shoucangList">
						<div class="b-shoucangList__title"><span>{$listnav}</span></div>
						<empty name="favoritelist"><div class="nodataes">还没有收藏食谱！</div></empty>
						<foreach name="favoritelist" item="fl">
						
							<div class="b-shoucangItem">
								<a href="__WEBURL__/{$fl.type|getWorkUrl}/{$fl.workid}" class="b-shoucangItem__pic"><img src="__FILESURL__{$fl.image}" class="l-full"><i class="b-picMask"></i></a>
								<div class="b-shoucangItem__content">
									<div class="b-shoucangItem__name"><a href="__WEBURL__/{$fl.type|getWorkUrl}/{$fl.workid}">{$fl.title}</a></div>
									<div class="b-shoucangItem__cailiao">{$fl.content|str_cut=60}</div>
									
									<div class="b-shoucangItem__user"><a href="__WEBURL__/u/{$fl.openuid}"><span>{$fl.nickname}</span></a></div>
								</div>
							</div>
						
						</foreach>
					
					</div>
					
					<div class="clear"></div>
                	<div class="pager">{$Page}</div>
					
				
				</div>
				<div class="clear"></div>
            </div>
          
        </div>
    </div>

    <include file="Public:footer" />

</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>

<script>
$(document).ready(function(){
 $(".nv-on").click(function(){
 $(".nv-tw").hide();
  $(this).next().show();//下一个元素显示
  
  return false;
 });
});
</script>




</body>
</html>